package com.googlecode.ddplan;

import java.util.Map;

import org.jbehave.core.annotations.AfterScenario;
import org.jbehave.core.annotations.BeforeScenario;

public class BeforeAndAfterScenarioSteps {
	private Map<String, Object> allSymbols;

	public BeforeAndAfterScenarioSteps(Map<String, Object> allSymbols) {
		this.allSymbols = allSymbols;
	}

	@BeforeScenario
	public void beforeScenario() {
		allSymbols.clear();
	}

	@AfterScenario
	public void afterScenario() {
		allSymbols.clear();
	}

}
